package com.etms.mapper;

import com.etms.pojo.SysUser;
import com.etms.vo.UserParmas;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    SysUser findByUnAndPwd(UserParmas user);

    List<SysUser> findAll();

    SysUser findById(Integer id);

    boolean delById(Integer id);

    void update(SysUser user);

    void addUser(SysUser user);
}
